package day39.edu.domain;
// Created: 09/10/2025, ChangJiang Ru
public class NoteBook implements Equipment{
    private String model; // the model of machine
    private double price; // the price of machine

    public NoteBook()
    {

    }

    public NoteBook(String model, double price)
    {
        this.model = model;
        this.price = price;
    }

    public void setModel(String model)
    {
        this.model = model;
    }

    public void setPrice(double price)
    {
        this.price = price;
    }

    public String getModel()
    {
        return this.model;
    }

    public double getPrice()
    {
        return this.price;
    }

    @Override
    public String getDescription()
    {
        return this.getModel() + "(" + this.getPrice() + ")";
    }
}
